﻿using JinShun.OA.UI.Enums;

namespace JinShun.OA.UI.Dtos
{
    public class UserOutDto
    {
        public Guid Id { get; set; }
        public bool IsDeleted { get; set; }

        public string? Name { get; set; }

        public int? Age { get; set; }
        public string UserName { get; set; } = string.Empty;

        public string Password { get; set; } = string.Empty;

        public string Salt { get; set; } = string.Empty;

        public string? Icon { get; set; }
        public string? Nick { get; set; }
        public string? Email { get; set; }

        public string? Ip { get; set; }


        public string? Address { get; set; }


        public long? Phone { get; set; }

        public string? Introduction { get; set; }

        public string? Remark { get; set; }

        public SexEnum Sex { get; set; } = SexEnum.Unknown;

        public Guid? DeptId { get; set; }
        public DateTime CreationTime { get; set; } = DateTime.Now;

        public Guid? CreatorId { get; set; }

        public Guid? LastModifierId { get; set; }

        public DateTime? LastModificationTime { get; set; }

        public int OrderNum { get; set; } = 0;

        public bool State { get; set; } = true;
    }
}
